package com.zzl.bonds.ticket.dto.credit;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.general.common.utils.DoubleSerialize;
import lombok.Data;

/**
 * @author : spp
 * @date : 2022/3/1 14:29
 */
@Data
@ApidocModel
public class StatisticCreditDataDto {
    @JsonSerialize(using = DoubleSerialize.class)
    @ApidocModelProperty(description = "凭证融资授信总额度")
    private Double creditAllAmount=0.d;

    @JsonSerialize(using = DoubleSerialize.class)
    @ApidocModelProperty(description = "历史已用额度")
    private Double creditUsedAmount=0.d;

    @JsonSerialize(using = DoubleSerialize.class)
    @ApidocModelProperty(description = "剩余授信额度")
    private Double creditAvailableAmount=0.d;
}
